If you want to run a Java programme on your computer, you need to set up the JDK path that is required to be set for using tools such as Javac, Java, etc.
There are two ways to set the path in Java :
-
Setting JDK Path Temporary
-
Setting JDK Path Permanent
How to set the temporary path for JDK in Windows:
To set path of JDK for temporary you need to follow the following setps:
Temporary path for JDK in Windows
How to set the Permanent Path of JDK in Windows:
To set path of JDK for Permanent you need to follow the following setps:
Open Environment variable from search bar
Select Path in System Variables
Paste the path of JDK by click on new button
Post your comment